/*
 * Created on 2-feb-2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package it.unibo.deis.lia.location;

/**
 * @author Carlo Giannelli
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class Location implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	
	private String id;
	public Location(String id){
		this.id=id;
	}
	public String getId(){
		return id;
	}
	public String toString(){
		return "["+id+"]";
	}
	public boolean equals(Object obj){
		Location temp=(Location)obj;
		return temp.getId().equals(this.getId());
	}
}
